SOUND EXIST
This command will return an integer value of one if the specified Sound Number exists, otherwise zero will be returned.
Return Integer=SOUND EXIST(Sound Number)
Sound Number
Integer
The sound number
The command will return an integer value of one if the specified Sound Number exists, otherwise zero will be returned
cls
load sound "man.wav",1
play sound 1
print"is there a sound number one "
if sound exist(1)=1
print "YES"
else
print "no"
endif
wait 1000*8
stop sound 1
do
loop
end
SOUND Commands Menu
Index